package com.rs.model;

import java.io.Serializable;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;

//@ApiModel(description="学习进度表管理")
public class ZhLeanprogress implements Serializable {
	
	
    private Integer lpgId;

    //@ApiModelProperty(value="大纲主提")
    private String lpgTheme;
    
    //@ApiModelProperty(value="大纲标题")
    private String lpgTitle;
    
    //@ApiModelProperty(value="大纲内容")
    private String lpgTxt;
 

    //@ApiModelProperty(value="进度百分比")
    private Integer lpgJd;

    
    //@ApiModelProperty(value="类型 0：java 1：php")
    private Integer lpgType;
 

    //@ApiModelProperty(value="0：初级 1：中级 2：高级")
    private Integer lpgLeve;
    

    private static final long serialVersionUID = 1L;

    public Integer getLpgId() {
        return lpgId;
    }

    public void setLpgId(Integer lpgId) {
        this.lpgId = lpgId;
    }

    public String getLpgTheme() {
        return lpgTheme;
    }

    public void setLpgTheme(String lpgTheme) {
        this.lpgTheme = lpgTheme == null ? null : lpgTheme.trim();
    }

    public String getLpgTitle() {
        return lpgTitle;
    }

    public void setLpgTitle(String lpgTitle) {
        this.lpgTitle = lpgTitle == null ? null : lpgTitle.trim();
    }

    public Integer getLpgJd() {
        return lpgJd;
    }

    public void setLpgJd(Integer lpgJd) {
        this.lpgJd = lpgJd;
    }

    public Integer getLpgType() {
        return lpgType;
    }

    public void setLpgType(Integer lpgType) {
        this.lpgType = lpgType;
    }

    public Integer getLpgLeve() {
        return lpgLeve;
    }

    public void setLpgLeve(Integer lpgLeve) {
        this.lpgLeve = lpgLeve;
    }

    public String getLpgTxt() {
        return lpgTxt;
    }

    public void setLpgTxt(String lpgTxt) {
        this.lpgTxt = lpgTxt == null ? null : lpgTxt.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ZhLeanprogress other = (ZhLeanprogress) that;
        return (this.getLpgId() == null ? other.getLpgId() == null : this.getLpgId().equals(other.getLpgId()))
            && (this.getLpgTheme() == null ? other.getLpgTheme() == null : this.getLpgTheme().equals(other.getLpgTheme()))
            && (this.getLpgTitle() == null ? other.getLpgTitle() == null : this.getLpgTitle().equals(other.getLpgTitle()))
            && (this.getLpgJd() == null ? other.getLpgJd() == null : this.getLpgJd().equals(other.getLpgJd()))
            && (this.getLpgType() == null ? other.getLpgType() == null : this.getLpgType().equals(other.getLpgType()))
            && (this.getLpgLeve() == null ? other.getLpgLeve() == null : this.getLpgLeve().equals(other.getLpgLeve()))
            && (this.getLpgTxt() == null ? other.getLpgTxt() == null : this.getLpgTxt().equals(other.getLpgTxt()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getLpgId() == null) ? 0 : getLpgId().hashCode());
        result = prime * result + ((getLpgTheme() == null) ? 0 : getLpgTheme().hashCode());
        result = prime * result + ((getLpgTitle() == null) ? 0 : getLpgTitle().hashCode());
        result = prime * result + ((getLpgJd() == null) ? 0 : getLpgJd().hashCode());
        result = prime * result + ((getLpgType() == null) ? 0 : getLpgType().hashCode());
        result = prime * result + ((getLpgLeve() == null) ? 0 : getLpgLeve().hashCode());
        result = prime * result + ((getLpgTxt() == null) ? 0 : getLpgTxt().hashCode());
        return result;
    }
}